package com.eve.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BlogCategory {

    private Integer category_id;

    private String category_name;

    private Date create_time;

    private List<Blog> blogs =new ArrayList<>();


    public Integer getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Integer category_id) {
        this.category_id = category_id;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public BlogCategory() {
    }

    public BlogCategory(Integer category_id, String category_name, Date create_time) {
        this.category_id = category_id;
        this.category_name = category_name;
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "BlogCategory{" +
                "category_id=" + category_id +
                ", category_name='" + category_name + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}
